package cn.gson.crmdemo.controller.finance;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.gson.crmdemo.model.pojo.Returndetailed;
import cn.gson.crmdemo.model.service.ReturndetailedService;

@Controller

public class ReturndetailedController {
	@Autowired
	ReturndetailedService rs;
	//查询退货单明细
	@RequestMapping("thdmx")
	@ResponseBody
	public List<Returndetailed> thd() {
		return rs.thdmx();
		
	}
}
